package com.opentae.data.mall.interfaces;

import com.opentae.core.mybatis.config.MyBatisRepository;
import com.opentae.core.mybatis.mapper.Mapper;
import com.opentae.data.mall.beans.MallOrderRecord;
import org.apache.ibatis.annotations.Param;
import org.springframework.context.annotation.Lazy;
import org.springframework.context.annotation.Scope;

import java.util.Date;

/**
 * 
 * Created by exampleCreater.
 */
@MyBatisRepository("tae_mall_mallOrderRecordMapper")
@Scope("singleton")
@Lazy(true)
public interface MallOrderRecordMapper extends Mapper<MallOrderRecord> {

    /**
     * @description 获取订单的各种事件
     * @author 郭尔
     * @date 2019/1/22 15:30
     */
    Date selOrderTime(@Param("type")Integer type,@Param("tradeCode")String tradeCode);
}
